DisposeRgn
DisposeRgn
Deallocate memory used to store a Region DisposeRgn frees all memory associated with a region-its master pointer and the RAM containing the variable-length Region structure. Use this only when you are completely finished with the region.
theRgn is the handle of the region to dispose.
Notes: After using this function, the value of theRgn (the region handle) is
meaningless. Be sure NOT to use the region handle again, unless you create a
new Region structure and assign it to theRgn via NewRgn. Use SetEmptyRgn if all you want to do is reinitialize a region handle to point to an empty region.